export default [
    {
        name: 'login',
        module: '',
        url: '/oauth/login/password',
        method: 'post',
        des: '登录'
    },
    {
        name: 'wechat/qr',
        module: 'login',
        url: '/oauth/wechat/qr',
        method: 'get',
        des: '二维码登录获取二维码'
    },
    {
        name: 'wechat',
        module: 'login',
        url: '/oauth/login/wechat',
        method: 'post',
        des: '微信登录'
    },
    {
        name: 'wechat/code',
        module: 'login',
        url: '/oauth/wechat/send',
        method: 'post',
        des: '微信登录获取验证码'
    },
    {
        name: 'code',
        module: 'login',
        url: '/oauth/login/sms',
        method: 'post',
        des: '短信登录'
    },
    {
        name: 'sendSmsCode',
        module: 'login',
        url: '/oauth/sendSmsCode',
        method: 'post',
        contentType: 'formData',
        des: '短信登录发送短信'
    },
    {
        name: 'register/sendSmsCode',
        module: 'login',
        url: '/user/sendCode/reg',
        method: 'get',
        des: '注册发送短信'
    },
    {
        name: 'register',
        module: 'login',
        url: '/user/registration',
        method: 'post',
        des: '注册'
    },
    {
        name: 'findPassword/sendCode',
        module: 'login',
        url: '/user/sendCode/find',
        method: 'get',
        des: '找回密码发送短信'
    },
    {
        name: 'findPassword',
        module: 'login',
        url: '/user/findPassword',
        method: 'post',
        des: '找回密码'
    },
    {
        name: 'list',
        module: 'menu',
        url: '/menu/user/tree',
        method: 'post',
        des: '获取用户菜单'
    },
    {
        name: 'info',
        module: 'company/state',
        url: '/company/state/info/state',
        method: 'get',
        des: '获取公司入驻完成状态和认证完成状态'
    },
    {
        name: 'companyInfo',
        module: 'user',
        url: '/user/judgeUserInfo',
        method: 'post',
        des: '获取公司入驻后公司信息是否填报'
    },
    {
        name: 'refresh',
        module: 'user',
        url: '/oauth/refresh',
        method: 'post',
        contentType: 'formData',
        des: '刷新token'
    }
]
